package com.example.demo.account;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * 账户服务feign调用
 */
@FeignClient(name = "account-service",path = "/account")
public interface AccountFeign {

    /**
     * 账户服务接口
     * @param param
     * @return
     */
    @RequestMapping(value = "/update")
    String updateAccount(Map<String,String> param);
}
